package com.gh.service;

import com.gh.entity.Student;

import java.util.List;

public interface StudentService {
    List<Student> findAll(List<Integer> list) throws Exception;

    Integer findTotal() throws Exception;

    void add(Student student) throws Exception;

    void update(Student student) throws Exception;

    void delete(int id) throws Exception;

    List<Student> findByAddress(String address) throws Exception;

    List<Student> findByName(String name) throws Exception;

    List<Student> findById(int id) throws Exception;
}
